package com.sc.highspeed.db.dao;

import com.sc.highspeed.db.model.UserMenuModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Admin on 2017/12/6.
 */
public interface UserMenuDao {
    List<UserMenuModel> getUserMenuList();
    List<UserMenuModel> getUserMenuByUsername(String username);
    UserMenuModel getUserMenu(@Param("username") String username, @Param("menuId") int menuId);
    int insertUserMenu(UserMenuModel userMenuModel);
    int updateUserMenuByUsername(UserMenuModel userMenuModel);
    int deleteUserMenuByUsername(String username);
}
